package com.iris.smartclass.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iris.smartclass.model.dto.duty.DutyQueryRequest;
import com.iris.smartclass.model.dto.duty.DutyUpdateRequest;
import com.iris.smartclass.model.entity.Duty;
import com.iris.smartclass.model.vo.DutyVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


/**
* @author 孙鸣
* @description 针对表【duty(值日表)】的数据库操作Service
* @createDate 2024-12-31 09:20:28
*/
public interface DutyService extends IService<Duty> {
    DutyVO getDutyVO(long stId);

    List<DutyVO> getDutyVOList(int day,HttpServletRequest request);


    QueryWrapper<Duty> getQueryWrapper(DutyQueryRequest dutyQueryRequest, HttpServletRequest request);


    DutyVO getDutyVOByID(Long stId,Long uuid);

    boolean updateDutyByName(DutyUpdateRequest dutyUpdateRequest);
}
